package org.yufan.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by zxd on 2018/4/10.
 */
@Controller
public class UserController {

    @RequestMapping("/login")
    public String toLogin(){
        return "login";
    }


    @RequestMapping("/register")
    public String toRegister(){
        return "register";
    }


}
